<!--
 * @description  :选择库位列表内容
 * @descriptionDetail:选择库位列表内容
 * @copyright    : 浙江烟草
 * @author       : dw
 * @create       : 2022-12-21 17:19:59
-->
<template>
  <view class="lt-root pdLf-16">
    <view class="lt-row-space">
      <text class="lt-right-title-label">
        {{ itemInfo.psCode }}
      </text>
    </view>
    <view class="lt-row">
      <u-row style="width:100%">
        <u-col span="6" style="padding-left:0">
          <text class="lt-left-label">
            已用：
          </text>
          <text class="lt-right-value">
            {{ itemInfo.goodsCount || 0 }}
          </text>
        </u-col>
        <u-col span="6">
          <text class="lt-left-label">
            剩余：
          </text>
          <text class="lt-right-value" style="color:#cb3839">
            {{ Number(itemInfo.psSize) - Number(itemInfo.goodsCount) }}
          </text>
        </u-col>
      </u-row>
    </view>
  </view>
</template>

<script>
export default{
  props:{
    itemInfo:{
      type: Object,
      default:() => { return {} },
    },
  },
  data(){
    return {

    };
  },
  methods:{
  },
}
</script>

<style scoped lang="scss">
@import "@/pages/intelligence/list_item.scss";
.pdLf-16{
  padding-left: 16rpx;
}
</style>
